package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.system.api.domain.SysUser;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户消息通知视图对象
 *
 * @author ruoyi
 * @date 2024-12-18
 */
@Data
@ExcelIgnoreUnannotated
public class SysUserMessageVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String title;

    /**
     * 发送者
     */
    @ExcelProperty(value = "发送者")
    private Long sender;

    /**
     * 接收者
     */
    @ExcelProperty(value = "接收者")
    private Long receiver;

    /**
     * 类型：1留言提醒、2问卷提醒
     */
    @ExcelProperty(value = "类型：1留言提醒、2问卷提醒")
    private Integer msgType;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 是否已读，1是，0否
     */
    @ExcelProperty(value = "是否已读，1是，0否")
    private Integer isRead;

    private Date createTime;

    private InvestigationVo investigation;

    private SysUser senderInfo;
}
